﻿using OL.FrameCore.Application.Home.Dto;
using OL.FrameCore.Infrastructure.Code;
using System;
using System.Collections.Generic;
using System.Text;

namespace OL.FrameCore.Application.Home
{
    public interface IHomeService : IAutoInject
    {
        /// <summary>
        /// 获取当前数据
        /// </summary>
        /// <returns></returns>
        GetCurrentDataResponse GetCurrentData();

        /// <summary>
        /// 获取登录统计
        /// </summary>
        /// <returns></returns>
        IList<GetLoginStatisticsModel> GetLoginStatistics();

        /// <summary>
        /// 获取用户分布
        /// </summary>
        /// <returns></returns>
        GetUserDistributionResponse GetUserDistribution();

        /// <summary>
        /// 获取我的登录数据
        /// </summary>
        /// <returns></returns>
        GetMyLoginDataResponse GetMyLoginData(int userId);
    }
}
